package com.lhkj.ct.meta.modules.psychology.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@ApiModel("测评历史")
@Setter
@Getter
public class EvaluationHistoryVo implements Serializable {

    @ApiModelProperty(value = "量表id")
    private String gaugeId;

    @ApiModelProperty(value = "量表名称")
    private String gaugeName;

    @ApiModelProperty(value = "时间线")
    private List<Timeline> timelines;

    @Setter
    @Getter
    public static class Timeline {

        @ApiModelProperty(value = "报告id")
        private String id;

        @ApiModelProperty(value = "测评时间(提交时间)")
        private LocalDateTime submissionTime;

        @ApiModelProperty(value = "报告状态 0.待审核 1.已审核 2.已发布")
        private Integer reportStatus;

        @ApiModelProperty(value = "审核人")
        private String reviewBy;

        @ApiModelProperty(value = "是否预警")
        private boolean dangerous;
    }
}
